<template>
  <el-table-column v-bind="$attrs">
    <template slot-scope="scope">
      {{ $enumName(enumType, scope.row[scope.column.property]) }}
    </template>
  </el-table-column>
</template>

<script>
export default {
  name: 'TableColumnEnum',
  props: {
    enumType: {
      type: String,
      required: true
    }
  }
}
</script>
